<template>
  <div>
    <el-container>
      <el-aside width="auto">
        <common-aside></common-aside>
      </el-aside>
      <el-container>
        <el-header>
          <common-header></common-header>
        </el-header>
        <el-main>
          <router-view></router-view>
          Main
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
import CommonAside from '../components/CommonAsid'
import CommonHeader from '../components/CommonHeader'
export default {
  name: 'mainIndex',
  components:{
    CommonAside,
    CommonHeader
  }
}
</script>
<style lang="stylus" scoped> 
.el-header
  padding: 0
</style>
